package com;

import com.model.AcmeProperties7;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;
import org.springframework.web.bind.annotation.RestController;

/**
 * 软注入-构造方式的传播性
 * 如果@EnableConfigurationProperties(AcmeProperties7.class)被注释，启动报错
 */
@RestController
@EnableConfigurationProperties(AcmeProperties7.class)
public class EnabelConfigOuterSpread1Controller {

    @Import(Enabel1.class)
    static class Test {
    }

}
